#include <pic18fregs.h>
#include "eeprom.h"


void eeprom_write(unsigned char eetype, unsigned char u, unsigned char h, unsigned char l, unsigned char len, unsigned char *data) {

        INTCON1bits.GIE=0;

	        EECON2=0x55;
		        EECON2=0xAA;

			        EECON1bits.WR=1;
				        INTCON1bits.GIE=1;
}
void eeprom_read(unsigned char eetype, unsigned char u, unsigned char h, unsigned char l, unsigned char len, unsigned char *data) {
}
void eeprom_erase(unsigned char eetype, unsigned char u, unsigned char h, unsigned char l, unsigned char len) {
}
